package com.guifan.vo;

import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @author God.Jhon.Black
 * @date 2023-01-17
 */
@Data
public class ProductInfoVo {

    @NotNull(message = "名称不能为空")
    private String productName;

    @Min(value = 0, message = "价格不能为负数")
    private BigDecimal productPrice;

    private Integer productStatus;
}
